package com.imyyq.sample

import com.imyyq.mvvm.base.DataBindingBaseActivity
import com.imyyq.sample.databinding.ActivityNetworkBinding

class NetworkActivity : DataBindingBaseActivity<ActivityNetworkBinding, NetworkViewModel>(
    R.layout.activity_network, BR.viewModel
) {
    override fun initData() {
        mViewModel

    }

    override fun isLoadingDialogCancelable(): Boolean {
        return true
    }

    override fun isCancelConsumingTaskWhenLoadingDialogCanceled(): Boolean {
        return true
    }
}